<?php
/**
* Process x1,x2, y1,x2
*/
function smarty_modifier_x1y1x2y2($x1y1x2y2='(0,0),(0,0)')
{
	$x1y1x2y2 = preg_replace('/[^\d\,]+/', '', $x1y1x2y2); # /[^\d\,]+/ | [^\d\(\)\,]+
	return $x1y1x2y2;
}
?>